package com.lishe.lishe.retrofit;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * Created by shino on 2017/11/24.
 */

public class BaseDataPageBody<T> implements Serializable {
    @SerializedName("num")
    private int pageSize;
    @SerializedName("page")
    private int pageNo;
    @SerializedName("totalnum")
    private int totalCount;
    @SerializedName("totalpage")
    private int totalPage;
    @SerializedName("info")
    private List<T> info;

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getTotalCount() {
        return totalCount;
    }

    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public List<T> getInfo() {
        return info;
    }

    public void setInfo(List<T> info) {
        this.info = info;
    }
}
